In here are the list of things I did for a particular hour or day. Also included here are the screenshots of games I played, or videos I watched or listened to, or just random things I stumbled upon. I'll occasionally write down what I'm thinking, or things I'm planning to do.
Uhh, I just spend almost an hour adding a vim abbreviation to insert the current date time. So I would type cdt in insert mode, and a date gets inserted.
Not exactly what was I planning on doing this early evening of friday...
It's not like I have better things to do though.
I got distracted and looked up how to insert ≈ and ≉ in vim. Vim has default digraph entry for ≈ (ctrl+k ?2), but not ≉. So I made a brief visit to the vim docs to figure out how to add digraphs. I did the following:
:digraph /2 2249
But this doesn't work. The 2249 is the hex UTF-16 encoding for ≉. Vim actually wants a decimal number, so I convert hex to decimal:
:digraph /2 8777
And it works. Actually, I'm using lua to configure nvim, so:
vim.cmd.digraph("/2", 8777)
≉≉≉≉≉≉≉≉≉≉≉≉≉≉≉
Math nerds and their silly symbols. And oh yeah, a ≈ b means a is infinitely close to b, or that a -b is an infinitesimal. Otherwise a ≉ b.
site last updated on 2024-10-16 | created with moontpl